package com.zxp.rmi.service;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * 参考：https://www.cnblogs.com/YC-L/p/14357635.html
 * @author zxp
 * @date 2021-08-23 10:27
 */
public interface  HelloRegistryFacade extends Remote {

    // 必须要抛异常
    String hello(String name) throws RemoteException;
}
